package com.macro.mall.mapper;

import com.macro.mall.model.BmsLeaveApproval;
import com.macro.mall.model.BmsLeaveApprovalExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BmsLeaveApprovalMapper {
    long countByExample(BmsLeaveApprovalExample example);

    int deleteByExample(BmsLeaveApprovalExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BmsLeaveApproval row);

    int insertSelective(BmsLeaveApproval row);

    List<BmsLeaveApproval> selectByExample(BmsLeaveApprovalExample example);

    BmsLeaveApproval selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BmsLeaveApproval row, @Param("example") BmsLeaveApprovalExample example);

    int updateByExample(@Param("row") BmsLeaveApproval row, @Param("example") BmsLeaveApprovalExample example);

    int updateByPrimaryKeySelective(BmsLeaveApproval row);

    int updateByPrimaryKey(BmsLeaveApproval row);
}